package com.skynet.springboot.mybatis.springmybatis.dao;


import java.util.List;

/**
 * @author Skynet
 * @Date 2017/8/22-23:37.
 */
public interface BaseDao<T> {

    T queryObject(Object id);

    List<T> queryAll();

    void save(T t);

    void saveBatch(List<T> list);

    Integer update(T t);

    Integer delete(Object id);

    Integer deleteBatch(Object[] id);

}
